package com.gaofans.vertx.boot.common.verticle;

import io.vertx.core.AsyncResult;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Handler;
import io.vertx.core.Verticle;

/**
 * @author GaoFans
 */
public class VerticleDefinition {

    private DeploymentOptions deploymentOptions;

    private Handler<AsyncResult<String>> handler;

    private Verticle verticle;

    private String name;

    public Verticle getVerticle() {
        return verticle;
    }

    public void setVerticle(Verticle verticle) {
        this.verticle = verticle;
    }

    public DeploymentOptions getDeploymentOptions() {
        return deploymentOptions;
    }

    public void setDeploymentOptions(DeploymentOptions deploymentOptions) {
        this.deploymentOptions = deploymentOptions;
    }

    public Handler<AsyncResult<String>> getHandler() {
        return handler;
    }

    public void setHandler(Handler<AsyncResult<String>> handler) {
        this.handler = handler;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
